package com.xyzm.springcloud.springconsumerconsul.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("spring-consul-provider")
@RequestMapping("/index")
@Service
public interface ProviderConsulService {
    @RequestMapping("/hello")
    String hello();
}
